<script>
    var a = 1;
    var a = 2;

    let b = 10;
    let b = 20;

    console.log(a);
    console.log(b);
    // 不能多次定义 Identifier 'b' has already been declared
</script>